<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>乐淘移动端</title>
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css" />
    <link
      rel="stylesheet"
      href="./lib/font-awesome-4.7.0/css/font-awesome.min.css"
    />
    <link rel="stylesheet" href="./css/common.css" />
    <link rel="stylesheet" href="./css/list.css" />
  </head>

  <body>
    <!-- 全屏容器 -->
    <div class="lt-container">
      <!-- 头部 -->
      <div class="lt-header">
        <a href="index.html" class="home"><i class="fa fa-home"></i></a>
        <h4>乐淘云购</h4>
        <a href="search.html" class="search"><i class="fa fa-search"></i></a>
      </div>
      <!-- 主体 -->
      <div class="lt-main">
        <!-- 登录悬浮按钮 -->
        <div class="lt-login-ball">
          <a href="./login.html"
            ><i class="mui-icon mui-icon-contact"></i><p>登录</p></a
          >
        </div>
        <!-- 左侧列表 -->
        <div class="lt-list-left">
          <!-- 区域滚动 -->
          <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
              <!--这里放置真实显示的DOM内容-->
              <ul>
                <!-- <li><a href="#">运动馆</a></li>
                <li><a href="#">运动馆</a></li>
                <li><a href="#">运动馆</a></li>
                <li><a href="#">运动馆</a></li>
                <li><a href="#">运动馆</a></li>
                <li><a href="#">运动馆</a></li> -->
              </ul>
            </div>
          </div>
        </div>
        <!-- 右侧布局 -->
        <div class="lt-list-right">
          <!-- 区域滚动 -->
          <div class="mui-scroll-wrapper">
            <div class="mui-scroll">
              <!--这里放置真实显示的DOM内容-->
              <ul>
                <li
                  ><a href="#"
                    ><img src="./images/brand1.png" alt="" /><p>阿迪达斯</p></a
                  ></li
                >
              </ul>
            </div>
          </div>
        </div>
      </div>
      <!-- 底部 -->
      <div class="lt-footer">
        <ul class="lt-nav mui-clearfix">
          <li>
            <a href="./index.html"><i class="fa fa-home"></i><p>首页</p></a>
          </li>
          <li class="current">
            <a href="list.html"><i class="fa fa-list"></i><p>分类</p></a>
          </li>
          <li>
            <a href="cart.html"><i class="fa fa-cart-plus"></i><p>购物车</p></a>
          </li>
          <li>
            <a href="user.html"
              ><i class="mui mui-icon mui-icon-contact"></i><p>个人中心</p></a
            >
          </li>
        </ul>
      </div>
    </div>
    <!-- 左侧模板 -->
    <script type="text/html" id="tmp-left">
      {{each rows v i}}
          <li class="{{ i=== 0 ? 'current':''}}"><a href="#" data-id='{{v.id}}'>{{v.categoryName}}</a></li>
      {{/each}}
    </script>
    <!-- 右侧模板 -->
    <script type="text/html" id="tmp-right">
      {{if rows.length==0}}
      <p class="black fz-18">暂无更多分类信息</p>
      {{/if}}
      {{each rows v i}}
        <li>
            <a href="#">
              <img src="{{v.brandLogo}}" alt="" />
              <p class="fz-18">{{v.brandName}}</p>
              </a>
        </li>
      {{/each}}
    </script>
    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/list.js"></script>
  </body>
</html>
